package com.xxx.yuedong.mine.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @Author Lry
 * @Date 2023-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * uuid
     */
    private String uuid;

    /**
     * 商品id
     */
    private Long goods_id;

    /**
     * 用户id
     */
    private Long user_id;

    /**
     * 收货地址id
     */
    private Long address_id;

    /**
     * 实付款
     */
    private Integer total_price;

    /**
     * 数量
     */
    private Integer count;

    /**
     * 订单状态 1未付款 2待发货 3 待收货  4完成
     */
    private String status;

    /**
     * 下单时间
     */
    private String time;


}
